package com.songyl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author syl
 */
@SpringBootApplication
@RestController
@EnableAutoConfiguration
public class MainApp {

    @RequestMapping("/")
    String index () {
        return "Hello World! 欢迎来到五味BookStation @author syl  \n 2022-03-19 16:40:55";
    }

    public static void main (String[] args) {
        SpringApplication.run(MainApp.class, args);
    }

}